Package-level declarations

Contains main classes to use Bluedot SDK as ServiceManager, GeoTriggerService and TempoService classes

Types

Link copied to clipboard
@JsonClass(generateAdapter = true)
data class AppState(val locationPermission: LocationPermission, val notificationPermission: NotificationPermission, val batteryLevel: Int, val lastRuleUpdate: Instant?, val viewState: ViewState, val foregroundServiceEnabled: Boolean) : Parcelable

AppState stores the state of the Application when the event(Entry/Exit) was triggered by the SDK

Link copied to clipboard
abstract class BDError : Parcelable
Link copied to clipboard
data class BDStreamingResponseDtoContext(val title: String?, val image_links: Array<String>?, val price: Double?, val description: String?, val merchant_id: Int?, val category_id: Int?, val product_id: Int?)
Link copied to clipboard

A receiver for Bluedot SDK service events.

Link copied to clipboard
class BrainAI
Link copied to clipboard
data class Chat(val sessionID: String, var userID: String = "", var language: String = "English", context: Context)
Link copied to clipboard
data class FeedbackDto(val reaction_type: Chat.ChatFeedback)
Link copied to clipboard
data class FenceInfo(val id: String?, val name: String?, val applicationId: String?, val geometry: Geometry?, val description: String?) : Parcelable

FenceInfo contains details of each fence created inside a zone

Link copied to clipboard

A receiver for GeoTriggering events.

Link copied to clipboard

GeoTriggeringService class is used to use GeoTriggering feature from bluedot SDK which includes reporting zone entry and exit events

Link copied to clipboard

Provides callbacks on ServiceManager.startGeoTriggering&ServiceManager.stopGeoTriggering

Link copied to clipboard

Provides callbacks on ServiceManager.initialize

Link copied to clipboard
data class LocationInfo(val latitude: Double, val longitude: Double, speed: Float, bearing: Float, val timeStamp: Long) : Parcelable
Link copied to clipboard
data class RequestDto(val userId: String, val sessionId: String, val userQuestion: String, val language: String)
Link copied to clipboard
fun interface ResetResultReceiver

Provides callbacks on ServiceManager.reset

Link copied to clipboard
Service manager is used to interact with Bluedot Point Service
Link copied to clipboard
data class StreamingResponseDto(val response: String = "", val response_id: String = "", val contexts: List<BDStreamingResponseDtoContext> = emptyList(), val stream_type: StreamType)
Link copied to clipboard
Link copied to clipboard

TempoService class is used to use Tempo feature from bluedot SDK which includes reporting tempo update and tempo stop events on a defined interval

Link copied to clipboard

Provides callbacks on TempoService.start

Link copied to clipboard

A receiver for Tempo events.

Link copied to clipboard
Link copied to clipboard
class ZoneInfo(val zoneId: String?, val zoneName: String?, val isCheckOut: Boolean?, val destination: Destination? = null, fences: HashSet<FenceInfo> = HashSet(), enabled: Boolean = true, customData: Map<String, String>? = null, val description: String? = null) : Parcelable

ZoneInfo stores zone details for every zone downloaded by SDK from Rule Download.